<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<table class="tbl-header">
	<tr>
		<th>学号</th>
		<th>姓名</th>
		<th>密码</th>
		<th colspan="2">操作</th>
	</tr>
	<c:forEach items="${list}" var="s">
		<tr>
			<td>${s.stuNo}</td>
			<td>${s.name}</td>
			<td>${s.password}</td>
			<td><a href="stu?method=update&id=${s.id}">修改</a></td>
			<td><a href="javascript:del(${s.id})">删除</a></td>
		</tr>
	</c:forEach>
</table>
